package com.spring.consumer;

import com.spring.irule.MyRule;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.netflix.ribbon.RibbonClient;

@RibbonClient(name = "MICROSERVICE-PROVIDER", configuration = MyRule.class)
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
public class Consumer80Application {

    public static void main(String[] args) {
        SpringApplication.run(Consumer80Application.class, args);
    }

}
